.htaccess help
-
Hi guys,
I’d like my visitors to see the content of the https://monda.hu/blog/welcome/ page directly from https://monda.hu
I originally wrote an index.php which fpassthru’ed the target URL but it seems fairly suboptimal and I’d like to solve this using .htaccess.
Looks like “RewriteRule ^$ /blog/welcome/ [L,R=301]” does work but I wouldn’t like to feature an excess redirect and would rather serve the content of the target page directly.
Unfortunately without R=301 the content of https://monda.hu/blog URL gets served instead of the welcome page.
Anybody can tell me what’s wrong and how should I fix this?
Thanks in advance!
Laci
- The topic ‘.htaccess help’ is closed to new replies.