Mobile app version of vmapp.org
Login or Join
Reiling115

: RewriteRule was matching before migration, but now browser gets a 404 error I have this URL rewrite rule in my .htaccess RewriteEngine on RewriteRule ^home$ home.php but when I try to reach

@Reiling115

Posted in: #Apache #Php #UrlRewriting

I have this URL rewrite rule in my .htaccess

RewriteEngine on
RewriteRule ^home$ home.php


but when I try to reach awatag.com/home I get a 404 error.

This rule worked perfectly before moving the domain to GoDaddy.

10.03% popularity Vote Up Vote Down


Login to follow query

More posts by @Reiling115

2 Comments

Sorted by latest first Latest Oldest Best

 

@Goswami781

Adding

RewriteBase /


seems to help some people.

10% popularity Vote Up Vote Down


 

@Gail5422790

Check your old apache config against your new apache config. It might be something as simple as not having mod_rewrite configured on your new server.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme