You are here:  » URL htaccess


URL htaccess

Submitted by wesse249 on Wed, 2017-03-15 20:06 in

Hello David,

When i click on a link in Google like this example.com/product/Product-Name.html the link is transformed to this link on my website : www.example.com/products.php?q=Product-Name&rewrite=1

How can i solve this. The same url in google as on my website?

Thank you.

Submitted by support on Thu, 2017-03-16 09:46

Hi,

I just checked the actual URL that you posted and it looks like this is due to code added to .htaccess to re-direct non-www requests to the www. version of your website, but the code has been added _after_ the search engine friendly URL RewriteRules.

If you move the non-www to www rules before any others, e.g. immediately after the line:

RewriteEngine On

...that should be all it is...

Cheers,
David.
--
PriceTapestry.com