Home 403 Forbidden You don't have permission to access - mod_rewrite
Reply: 0

403 Forbidden You don't have permission to access - mod_rewrite

user737
1#
user737 Published in May 21, 2018, 12:41 pm

OK, so I have searched for an answer everywhere but this doesn't seem to be a similar issue others are having.

From .htaccess

RewriteRule ^(.*)-p-(.*)\.html$ index\.php?main_page=product_info&products_id=$2&%{QUERY_STRING} [L]

The above rule is working for this URL:

https://www.example.com/seo-page-name-p-341.html

But this one gives me the 403 error:

https://www.example.com/seo-page-name-p-341:6662cd9f4515a07efd25ef413b81846f.html

Here is the page without rewrite:

https://www.example.com/index.php?main_page=product_info&products_id=341:6662cd9f4515a07efd25ef413b81846f

What am I doing wrong?

Thank you! David

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.366877 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO