WordPress.org

Ready to get started?Download WordPress

Forums

redirects .htaccess (3 posts)

  1. stevedmma
    Member
    Posted 5 years ago #

    IM trying to make redirects

    like mydomain.com/vote points to another site where they can vote for me.

    I checked the .htaccess and everything looks good but then u try to access these URL's it takes to you a black page on my wordpress site that says page not found.

    What am i missing?

    thanks....

  2. Samuel B
    moderator
    Posted 5 years ago #

    Redirect 301 /vote http://www.example.com/newpage.html

    should work in .htaccess

  3. stevedmma
    Member
    Posted 5 years ago #

    RewriteCond %{HTTP_HOST} ^mydomain.com$ [OR]
    RewriteCond %{HTTP_HOST} ^www.mydomain.com$
    RewriteRule ^facebook$ "http\:\/\/www\.facebook\.com\/pages\/Generation\-WHY\/59568265973" [R=302,L]

    RewriteCond %{HTTP_HOST} ^mydomain.com$ [OR]
    RewriteCond %{HTTP_HOST} ^www.mydomain.com$
    RewriteRule ^vote$ "http\:\/\/www\.podcastalley\.com\/podcast_details\.php\?pod_id\=67224" [R=302,L]

Topic Closed

This topic has been closed to new replies.

About this Topic