WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

There is a site at http://theprimarkonlineshop.com that I want to be redirected to http://theprimarkonlineshop.com/category/blog when a user enters the site. I've tried some stuff like

RewriteEngine on
RewriteCond %{REQUEST_FILENAME} ^/$ [OR]
RewriteCond %{REQUEST_FILENAME} ^$ 
RewriteRule . http://theprimarkonlineshop.com/category/blog/ [R=301,L]

but it doesn't work.

Also there are some redirections that were put into .htaccess by WordPress

RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

I guess they should remain as is?

share|improve this question
up vote 1 down vote accepted

Here is how I'd do it:


  1. Install above plugin
  2. Create a page
  3. Add custom field: redirect of a value of http://theprimarkonlineshop.com/category/blog
  4. Set page you have created to the sites homepage.
share|improve this answer

you can also try wp_redirect:

<?php wp_redirect( 'http://theprimarkonlineshop.com/category/blog/', 301 ); exit; ?>

put it in a custom template and set it as your homepage.php file or you can do this from your settings also.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.