Forum Moderators: phranque

Message Too Old, No Replies

seamless redirection

         

kadnan

6:08 am on Jan 30, 2010 (gmt 0)

10+ Year Member



Hi

I have setup my bylog in root as /blog/. What I want that when someone visits [mysite.com...] or [site.com...] it seamless redirect to mysite.com/site. What I mean that user should not see/site ,rather it gets done at backend.

Help me in this regard.

/A

g1smd

7:33 am on Jan 30, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



What have you tried so far?

kadnan

7:36 am on Jan 30, 2010 (gmt 0)

10+ Year Member



RewriteEngine on
RewriteRule ^/$ /myblog/

kadnan

8:54 am on Jan 30, 2010 (gmt 0)

10+ Year Member



please help me!

jdMorgan

2:51 pm on Jan 30, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



In order to help you, we need more information. Every problem is different, and some are very complicated.

With the code you posted above, what is the the problem?

Where did you install this code?
Do you have other RewriteRules in that location that work porperly?

How did you test? - What URL did you enter in your browser?
What did you expect to happen?
What were the actual results? What did you see in your browser?
Did you get an error in the browser? Did you get an error logged in your server error log file?
How did these results differ from the results that you expected?

That is a very short list of information that we need just to start discussing this problem. Depending on your answers, there will likely be many more questions.

Jim