Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Clean url for contact us page

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #1  
Old 06-16-2014, 10:55 AM
 
DBK Web Builder DBK Web Builder is offline
 

Advanced Member
  
Join Date: Apr 2014
Location: NJ
Posts: 67
 

Default Clean url for contact us page

Right now the contact us page has an odd url

http://www.watertownmemorialcompany.com/help.php?section=contactus

How can we change it to just

http://www.watertownmemorialcompany.com/contactus.html


Thanks

DonnaNJ
__________________
4.6.2 and 4.6.3
http://www.DBKWebBuilder.com
Reply With Quote
  #2  
Old 10-02-2014, 06:55 AM
 
sinobest sinobest is offline
 

X-Adept
  
Join Date: Nov 2009
Posts: 462
 

Default Re: Clean url for contact us page

i am interested in this also. anybody knows how to resovle this.
__________________
X-Cart Version: 4.7.12 GOLD
www.cheapglasses123.com prescription glasses online at discounted prices.
prescriptionglassesusa.com
www.loupesusa.com X-Cart Version: 4.7.11 GOLD PLUS
Reply With Quote
  #3  
Old 10-02-2014, 07:14 AM
 
elmirage001 elmirage001 is offline
 

X-Wizard
  
Join Date: Apr 2007
Posts: 1,966
 

Default Re: Clean url for contact us page

It can be done using Jon's CDSEO Pro 2.0x plus the Custom Replacements Module.

CDSEO Pro
https://www.smackdigital.com/x-cart-mods/cdseo-pro-x-cart-seo.html

Custom Replacements Module.
https://www.smackdigital.com/x-cart-mods/cdseo-addon-custom-replacements.html

Works great!
__________________
X-Cart GoldPlus v4.7.12 | reBOOT (reDUX) Template v4.7.12.9 | Always The Best
Reply With Quote

The following user thanks elmirage001 for this useful post:
Jon (11-02-2014)
  #4  
Old 11-02-2014, 02:37 PM
 
sinobest sinobest is offline
 

X-Adept
  
Join Date: Nov 2009
Posts: 462
 

Default Re: Clean url for contact us page

if without cdseo, we can not resolve this issue?
__________________
X-Cart Version: 4.7.12 GOLD
www.cheapglasses123.com prescription glasses online at discounted prices.
prescriptionglassesusa.com
www.loupesusa.com X-Cart Version: 4.7.11 GOLD PLUS
Reply With Quote
  #5  
Old 11-04-2014, 04:00 AM
  iClerisy's Avatar 
iClerisy iClerisy is offline
 

Senior Member
  
Join Date: Mar 2010
Posts: 103
 

Default Re: Clean url for contact us page

Hi,

This can be easily done by .htaccess rewrite rule.

Example : https://clutchtees.com/contactus.html

.htaccess rule : RewriteRule ^contactus.html/?$ help.php?section=contactus&mode=update [L]

Best wishes.
__________________
Dhvanit Upadhyay
Professional X-cart Service | Former Partner X-cart.es
Skype : dhvanit.upadhyay
https://www.linkedin.com/in/dhvanit/
Reply With Quote

The following user thanks iClerisy for this useful post:
mcanitano (11-05-2014)
  #6  
Old 11-04-2014, 02:08 PM
 
sinobest sinobest is offline
 

X-Adept
  
Join Date: Nov 2009
Posts: 462
 

Default Re: Clean url for contact us page

great, i have modify 2 dynamic urls to static urls, adding the following to lines to .htaccess:

RewriteRule ^contacts.html/?$ help.php?section=contactus&mode=update [L]
RewriteRule ^password-recovery.html/?$ help.php?section=Password_Recovery [L]

and i got 2 static urls:
http://www.loupesusa.com/password-recovery.html
http://www.loupesusa.com/contacts.html
__________________
X-Cart Version: 4.7.12 GOLD
www.cheapglasses123.com prescription glasses online at discounted prices.
prescriptionglassesusa.com
www.loupesusa.com X-Cart Version: 4.7.11 GOLD PLUS
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 09:28 AM.

   

 
X-Cart forums © 2001-2020