View Single Post
Old 08-26-2022, 05:49 AM  
Publisher Bucks
Confirmed User
 
Industry Role:
Join Date: Oct 2018
Location: New Orleans, Louisiana.
Posts: 716
.htaccess rewrite issue

Can anyone who knows about .htaccess tell me why this is giving me a 500 error?

Its supposed to be re-writing the URLs so they are SEO friendly

Quote:
RewriteRule ^link-name$ link.php?id=link-name [L]
RewriteCond %{THE_REQUEST} ^[A-Z][3,9] /link.php?id=243 HTTP/
RewriteRule ^link.php$ https://www.domain.com/links/link? [R=301,L]
I've placed it as .htaccess in the /links/ directory and the domain root and it still kicks out a 500 error.

When its in the /links/ directory it gives me an error when I click on one of the urls.
When its in the domain root it wont even load the page before kicking out a 500 error.

According to several Google results, this *should* be working perfectly
__________________
DMCASUITE
BETA Testers Needed.
Publisher Bucks is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote