Mobile app version of vmapp.org
Login or Join
Phylliss660

: 500 error when using htaccess rule for SEO Friendly URL for example.com/archive/?page=1 I'm trying to make example.com/archive/?page=1 SEO friendly but every example I've tried, gives error 500.

@Phylliss660

Posted in: #Htaccess #Pagination #Seo

I'm trying to make example.com/archive/?page=1 SEO friendly but every example I've tried, gives error 500. It might be because of the index.php.

Does anybody know how to make:

example.com/archive/?page=1


to look like:

example.com/archive/page/1/

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Phylliss660

1 Comments

Sorted by latest first Latest Oldest Best

 

@Shanna517

Even if there is small reconfiguration/typo-error in htaccess file, site goes down. If you have back-up of file try upload it. Always take back-up when you edit htaccess file.

*This code should work.

RewriteEngine On
RewriteRule archive/page/(.*)$ example.com/archive/?page=

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme