Thread Rating:
  • 2 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
redirect wordpress main index page to another url without plugin and htaccess
#1
Hi lads 
I need help redirecting my wordpress main index page to another url without plugin and htaccess 301 is there any possible way 
I can do it,
I have been seeking help so many different forms so far no joy

Look forward to hear from you.
Reply
#2
you can do it without 301 or htaccess
This works really well make sure you past in the home page in your worpress the current theme you using 

Code:
home.php
echo '<script type="text/javascript">
          window.location = "http://thenewurl.com"
     </script>';

you will need to edit the theme location
wp-content/themes/yourthemename

good luck
Reply
#3
Ahmed man 
I have benefited from what you’ve written here for a long time, and 
I have a long way to go in returning that favor! Big Grin
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)