URL Rewriting

Folks, I have wordpress installed on the root folder of my site. Some Rewrite changes were made to the .htaccess file by Wordpress.

The question I have is, if I wanted to forward domain.com/twitter url pattern to my twitter profile (http://www.twitter.com/user) how would I go about doing this?

So far I have tried the following:

RewriteRule ^twitter http://twitter.com/user

but this does not seem to work for me.

Thanks in advance for your help.

1 Reply

Redirect /twitter http://www.twitter.com/hello

should work.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct