I did the same kind of thing on my single post template to move users directly to the content. But not by using the way you said.
If you do this with new permalink structure rebuild, ALL links will redirect users to #about. Even on an archive page, category page, tag page, post, page, comment page, pagination page, feed, comment feed…). I don’t think this is what you want.
You want this behavior only for post or something like this ?
I did it by this way in my blog :
Copy/paste the following code in the Head section of your single.php file (to test) :
<head>
...
<script type="text/javascript" language="JavaScript">
<!-- GOTO id #about -->
function redirection(page)
{window.location=page;}
setTimeout('redirection("#about")',0);
<!-- GOTO id #about -->
</script>
...
</head>
his will do a very quick redirect when the page will load.
thanks so much for the response. I do not want all links to be redirect to the about page.
I need the entire page structure of my site to look like
http://www.yoursite.com/#about
for example-
http://www.yoursite.com/#contact
http://www.yoursite.com/#galleries
http://www.yoursite.com/#resume
Thanks again
Ho, OK, I believe I misunderstood what you want to do. If I understand well now…
You can’t do this.
# is used by all the web browsers to move the users window to a content that have an ID that matche the word behind #
for exemple, with the link :
http://wordpress.org/support/topic/permalink-setting-help?replies=3#post-3759863
you are directly moved to my first answer in this topic, because #post-3759863 matche with id=”post-3759863″ :
<li id="post-3759863" class="postitem ">
really? that is bad news. I purchased a WP theme that I am trying to customize by adding new pages. The documentation for the theme states this is possible and more importantly necessary bc it is a one page site template.
http://themeforest.net/item/hanna-responsive-retro-wordpress-theme/full_screen_preview/3285377
The documentation states:
Then in the Custom Links section below, you can begin adding your Menu items. In the URL
field you need to enter the full URL of your site (ie; http://www.mysite.com/), and also the
link (#) anchor to scroll to the various sections on the site. You will also need to add a label
(ie; Latest Work).
Below is an example of how you should enter the correct URL so the scroll functionality
works. These examples are taken from the Hanna preview site.
– http://www.yoursite.com/#latest-work
– http://www.yoursite.com/#recent-news
– http://www.yoursite.com/#about
– http://www.yoursite.com/#contact
OK… In this case, it’s possible.
But you do not have to change permalink structure to do this.