nawranj
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Page Direction & htaccessWow thank you very much for taking the time to help me! It means a lot! Do you have a better suggestion? I mean right now the code is doing what I want it to, but if you feel there is a better solution to this, I am all open to suggestions!
Edit: Ok so I just used the modified code that you suggested, and it pretty much nullified Mod_redirect, as it went back to the original example.com/en link whenever I enter example.com/Festival. Where as right now, Mod_redirect is working well with the snippet of Mod_rewrite.
Forum: Fixing WordPress
In reply to: Page Direction & htaccessHmmmm so I just resolved the issue with a very simple line that made me laugh:
RedirectMatch 301 ^/Festival$ http://example.com/en/Festival
It did exactly what I wanted it to do! Case closed!
Forum: Fixing WordPress
In reply to: Page Direction & htaccessSure thing, here it is:
RewriteEngine on RewriteCond %{HTTP_HOST} ^example\.com$ [OR] RewriteCond %{HTTP_HOST} ^www\.example\.com$ RewriteRule ^/?$ "http\:\/\/example\.com\/en" [R=301,L] # to protect wp-config.php <Files wp-config.php> order allow,deny deny from all </Files> # to protect the .htaccess file itself: <Files .htaccess> order deny,allow deny from all </Files>Forum: Fixing WordPress
In reply to: Page Direction & htaccessThank you for the help, but it didn’t work.. anyone has a solution for this?