Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Website URL: domain.com/shipping-information/


Guest

Recommended Posts

Posted

Hey peoples,

 

I have noticed that many "search engine optimized" creLoaded websites have fancy URL's that don't end in .PHP (they even sometimes end in .HTML!)

 

For example, if the customer is going to their returns and shipping information page, the url would be something like:

 

<domain>.com/shipping-and-returns/

 

Instead of this:

 

<domain>.com/shipping_returns.php

 

 

 

How do they go about doing this? I have many pages (not products related) that I want to use this outline rather than the same 'ol <domain>.com/<page>.php. I want it where the url is <domain>.com/<page>/

 

Any information about this will be greatly appreciated! I am not interested in some of the SEO contributions that do this for the products only pages. Thanks!

Posted
Hey peoples,

 

I have noticed that many "search engine optimized" creLoaded websites have fancy URL's that don't end in .PHP (they even sometimes end in .HTML!)

 

For example, if the customer is going to their returns and shipping information page, the url would be something like:

 

<domain>.com/shipping-and-returns/

 

Instead of this:

 

<domain>.com/shipping_returns.php

How do they go about doing this? I have many pages (not products related) that I want to use this outline rather than the same 'ol <domain>.com/<page>.php. I want it where the url is <domain>.com/<page>/

 

Any information about this will be greatly appreciated! I am not interested in some of the SEO contributions that do this for the products only pages. Thanks!

 

I already experienced that and the reason why it turns into that is because I was using windows server but if your server is linux then it will turn to this way domain.com/information.php. dont worry about that its just normal since I do have the same issue and dont have any problem at all.

Posted

If I am understanding you correctly, you need mod_rewrite in your .htaccess file.

 

Something like the following:

 

RewriteRule [A-Za-z]+).php$ $1.html

 

You need to set it up first by using RewriteRule On. Need to pay attention to the regex though and you might need to make more than one.

Read the following resource, it tells you everything you need to know (pretty much)

 

http://httpd.apache.org/docs/2.0/misc/rewriteguide.html

 

hope that helps

Posted
If I am understanding you correctly, you need mod_rewrite in your .htaccess file.

 

Something like the following:

 

RewriteRule [A-Za-z]+).php$ $1.html

 

You need to set it up first by using RewriteRule On. Need to pay attention to the regex though and you might need to make more than one.

Read the following resource, it tells you everything you need to know (pretty much)

 

http://httpd.apache.org/docs/2.0/misc/rewriteguide.html

 

hope that helps

 

 

This is really the way that these osCommerce based websites do it? Wow, I would have thought it differently! :)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...