WordPress.org

Ready to get started?Download WordPress

Forums

root directory and index.htm title tag (13 posts)

  1. treat2day
    Member
    Posted 2 years ago #

    I am struggling to figure out a solution to return the website page title to its name. Currently the Silverlight Gallery has taken over the index.htm title tag in the web design coding located in the root directory. All the subfolders have their title pages.

    If a user bookmarks the homepage, it becomes the first Silverlight Gallery movie title, this isn’t a plugin.

    I used Microsoft Expression Encoder 4 and Silverlight Gallery Template that is available with the program.

    The index.htm title tag isn’t a problem on my other websites that isn’t using WordPress as the root directory. This is why I couldn’t find any support or forum search solutions.

    The gallery is located on my customer’s website, bloginblack.org

    WordPress uses the root directory by copying over the index.php and .htaccess into the root directory and changing the directory core files to ('./wordpress/wp-blog-header.php');

    The Silverlight Gallery is installed in WordPress theme directory.

    I hope this is a clear explanation.

    Any suggestions?

  2. digibucc
    Member
    Posted 2 years ago #

    i use dreamweaver to search an entire directory for a string of text/code. i am sure there are free pieces of software that do the same.

    search the whole directory for that text, and change it. obviously you
    have performed a search on just the htm file first.

  3. treat2day
    Member
    Posted 2 years ago #

    I don't know what it is you are referring to search.

    Maybe I need to be a bit more clear.

    If I change the video code title <MediaSource>VIDEO CODE TITLE</MediaSource>

    that overides the index.htm title tag,

    then I no longer have the correct video title but solved the bookmark title tag.

    Are you directing me to do something different what I am explaining?

    I also tried researching it no luck
    http://stackoverflow.com/questions/5559784/suppress-navigation-when-setting-htmlpage-window-currentbookmark-property-in-silv

    Thank You.

  4. digibucc
    Member
    Posted 2 years ago #

    that is more complicated than i thought, but my point was to find
    where in the code it is over-riding the page title, and change it.

    you could still do that, but it'd be more difficult. sorry idk the program.

  5. Tom Anthony
    Member
    Posted 2 years ago #

    As far as I can make out, Silverlight changes the title of the page after it loads, replacing the normal title. So, from an SEO point of view you shouldn't have a problem.

    From a users point of view, you need to look at the Silverlight gallery options, I think, as no matter what you tell WordPress to set the title too, Silverlight will just override it later.

    Unfortunately, I'm unfamiliar with Silverlight - but that is where you should look! :)

  6. treat2day
    Member
    Posted 2 years ago #

    Actually, the problem only occurs when I change WordPress to root directory.

    Silverlight loading the first video doesn't overide any other time except when WordPress is in the root directory.

    Thanks for your response

  7. digibucc
    Member
    Posted 2 years ago #

    where are the silverlight files located online? in relation to wordpress i mean.

  8. treat2day
    Member
    Posted 2 years ago #

    Files are in WordPress directory

    /wordpress/wp-content/themes

    silverlight gallery isn't a plugin (see original post)

    Thanks.

  9. digibucc
    Member
    Posted 2 years ago #

    i'm sorry but, where did i say it was?

    why in the themes folder? it's not a theme either is it? it's microsoft's web presentation thing, correct?

    unless i'm missing something, that's an odd place for it. i would put it in uploads if possible.

  10. treat2day
    Member
    Posted 2 years ago #

    The primary theme is a template with Silverlight encoded. Silverlight needs to run in this folder with it's template in order to work.

    The Silverlight Gallery using encoder is for use in a web design "template" and not a "theme". This gallery is definitely a hack to get it to work in WordPress. (view sourcs)

    When I contacted Silverlight Development Team for directions to install the gallery, they told me it would not work in WordPress. Well, its working very well.

    I just have this nagging title tag issue.

  11. digibucc
    Member
    Posted 2 years ago #

    have you tried setting a title in the header manually? example:
    <title><?php bloginfo('name'); ?><?php wp_title(); ?></title>

    that should over-ride anything that gets set afterward, which i assume is when silverlight loads it.

    also, would you mind putting your theme up somewhere so i can see the source files?

  12. treat2day
    Member
    Posted 2 years ago #

    You can get the theme from the wordpress website bloginblack.org which I didn't add as a link in original post because I didn't want it rejected for possible spam. The non-wordpress website performancepi.com

    I will try your solution and post results later.

    Thank you.

  13. treat2day
    Member
    Posted 2 years ago #

    The title change immediately after the page is loaded as a result of the Silverlight encode and not because of the video title coding in the HTML

    I can close this ticket now that I checked the search engines reads the correct HTML title code and the movie title isn't the cause of this problem.

    I put together an encoded gallery which Silverlight development team says it could not be done unless it was a plugin made for WordPress exclusively. This is amazing enough.

    At this point, a user can manually write in their favorites title before confirming to save to their browser.

    This was more than my best efforts for what should be a simple title code but obviously not with an unconventional Silverlight hack.

    Thank you.

Topic Closed

This topic has been closed to new replies.

About this Topic