pleb

pleb

Joined
Nov 20, 2012

Activity Stream

pleb commented on a Page, Dynamic Title and Meta Tags  -  Dec 11, 2012

the point is that my site uses a single page name and #xyz to show different content (but really they are different pages), a lot of sites do this now in order to avoid reloading and displaying content faster. but the problem indeed is that this page has a unique meta data right now. these are really different pages, but they are all under a single php file. for example gmail does this too: https://mail.google.com/mail/u/0/?shva=1#inbox

 Respond  
pleb commented on a Page, Dynamic Title and Meta Tags  -  Dec 11, 2012

Hello @Hawkee,

I found this code to get the anchor using javascript and cookies.

But so now, how do I capture what is returned in the anchor and add it the my page name (index.php in get_meta.php so that it gets the full URL (index.php#home? should I define it inside $page = ?

thanks a lot!!!

 Respond  
pleb commented on a Page, Dynamic Title and Meta Tags  -  Nov 20, 2012

Hi Hawkee,
Running in a problem as my page is unique but shows different content using the # tag: index.php#home , index.php#contact etc...
I got it working on index.php but can't figure out how to structure get_meta and the data file to make it look at #home instead of just index.php

Thanks for your help

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.