Wordpress on SubDomain -- URL Rewrite?
Please bare with me as I try to explain what I am trying to achieve. Let's say I have a domain titled domain.com. I placed a Wordpress blog in domain.com/journal. I then created a forwarding so that when visitors type in journal.domain.com they see the Wordpress blog. The problem is when they refresh, the url changes back to domain.com/journal. Do you know how to stop this from happening and to keep it as journal.domain.com?
Thank you for your help!
on the first page URL before the doctype or html tags put:
<?php header("location: adlocationhere.php"); ?>
Then on the ad page put this:
<?php header("refresh:5;url=secondredirectafter5seconds.php"); ?>
This will redirect your first page immediately and it will redirect your second page after 5 seconds. You can change the seconds as pe your requirement.
Hope this helps.
That actually didn't -_- I am not trying to create an ad page or anything.
Originally Posted by priyankagound
I am trying to make my Wordpress blog url look like journal.website.com/postid=1231.php rather than website.com/journal/postid=1231.php.
BUMP - does anyone have any clue? I have been trying to figure it out, but I am not able to do so.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)