Strict Standards: Redefining already defined constructor for class bbdb in /home/themes/public_html/forums/bb-includes/db-mysql.php on line 12

Strict Standards: Declaration of BB_Walker_Blank::start_lvl() should be compatible with BB_Walker::start_lvl($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127

Strict Standards: Declaration of BB_Walker_Blank::end_lvl() should be compatible with BB_Walker::end_lvl($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127

Strict Standards: Declaration of BB_Walker_Blank::start_el() should be compatible with BB_Walker::start_el($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127

Strict Standards: Declaration of BB_Walker_Blank::end_el() should be compatible with BB_Walker::end_el($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127
Page links dont work with permalinks activated « ThemeShaper Forums

ThemeShaper Forums » Thematic

[closed]

Page links dont work with permalinks activated

(8 posts)
  • Started 4 years ago by willforsyth
  • Latest reply from leicesterweb
  • This topic is resolved

  1. Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 440

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 510

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 512


    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 440

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 510

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 512
    willforsyth

    Member

    Right just discovered this problem now not sure if anyone has had a similar issue and if they did how they resolved it.

    I have made a child theme of thematic and used this function to add a new sub menu.

    ///////////// sun menu instert below header//////////////////////////////////////
    
    function sub_menu() { ?>
    <div class="menuwrapper">
    <div class="menu2">
    
    <ul>
    <li><a href="web.html">:Web</a></li>
    <li><a href="graphics.html">:Graphics</a></li>
    <li><a href="print.html">:Print</a></li>
    <li><a href="logo.html">:Logo</a></li>
    <li><a href="illustration.html">:Illustration</a></li>
    <li><a href="branding.html">:Branding</a></li>
    </ul>
    </div>
    </div>
    <?php
    
    }
    add_action('thematic_belowheader', 'sub_menu');
    
    ////////////////////////////////////////////////////////////////////////////

    Everything has worked fine until I activated the permalinks on my wordpress themes.

    When this is activated and you navigate through the wordpress section of my site then navigate to the sub menu inserted via this function instead of removing the permalink amd insterting the .html link it adds this to the end of the permalink thus making the link invalid.

    I.E

    www.willforsyth.co.uk.about (about being the permalink)

    Click on the link (web.html) created by the function it comes out as this

    www.willforsyth.co.uk/about/web.html

    instead of removing the permalink and making the link this

    www.willfrosyth.co.uk/web.html

    to make matters even more complicated it only adds the link to the end of the permalink when you click from the page thats created the permalink to the none wordpress page associated with the site.

    Has anyone had this issue before. Its working at the moment with permalinks deactivated but I want to have the title of the permalink activated for SEO reasons.

    Any ideas?

    Posted 4 years ago #

  2. Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 440

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 510

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 512


    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 440

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 510

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 512
    em hr

    Moderator

    I have run into this issue before and the best solution in my opinion would be to not mix a CMS like WordPress and static html files in the same directory. There are many more benefits for SEO to having one cook(CMS) in the kitchen rather than mixing WordPress with static html.

    Why not learn how to manage your "whole" site with WordPress. Create pages in WordPress and import the content into them.

    -Gene

    Posted 4 years ago #

  3. Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 440

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 510

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 512


    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 440

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 510

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 512
    willforsyth

    Member

    Thanks

    I will try putting the files into another directory and linking from there. See if that works.

    I was planning on making my whole site powered by wordpress but I couldnt work out how to have multiple style sheets for the two different sections.

    One content area is bigger than the other.

    So decided to make it live for the time being till I get time to figure it out.

    Posted 4 years ago #

  4. Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 440

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 510

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 512


    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 440

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 510

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 512
    em hr

    Moderator

    look here for a tutorial on how to switch stylesheets between pages using Thematic:

    http://programming.thematic4you.com/2010/01/how-to-use-a-different-layout-for-a-certain-page/

    Posted 4 years ago #

  5. Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 440

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 510

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 512


    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 440

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 510

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 512
    willforsyth

    Member

    Thanks will try this out.

    Posted 4 years ago #

  6. Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 440

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 510

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 512


    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 440

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 510

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 512
    helgatheviking

    Moderator

    depending on what you are doing, you might need custom page templates :

    http://wptheming.com/2010/03/custom-page-templates-thematic/

    also i found that the Custom Post Template plugin lets you do exactly the same thing for Posts... which i really think ought to be in the core functionality.

    but as far as you links... if they are top level pages then you could use <a href="/about.html"> you are missing a backslash... so the links as you have them are always relative to wherever you are now... whereas w/ the backslash they are always relative to the root directory.

    what do you have set for permalinks? i am fairly certain that w/o a plugin, wordpress pages never get a trailing .html which is another reason your links might be breaking.

    but i agree w/ gene... get those pages into WP and save yourself future headaches.

    Posted 4 years ago #

  7. Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 440

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 510

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 512


    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 440

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 510

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 512
    willforsyth

    Member

    Thanks Hilgatheviking putting the slash before the link worked a treat. thanks alot.

    yeah I need to build the whole thing in wordpress.

    But useful if anyone ever has to add a blog onto a already existing site solution found.

    Thanks again

    Posted 4 years ago #
  8. leicesterweb
    Member

    Hi all,

    I am building a new Wordpress site at http://www.kellyhainsworth.com/new/.

    I have nine pages which I want in my tabbed navigation - so far it's been a breeze.

    However, when I switch permalinks on, i get an error when I click on 'Reflexology' and it goes to http://www.kellyhainsworth.com/new/reflexology/. How can I get the tabs to go to the correct URls - as they do now - but display the content?

    I want http://www.kellyhainsworth.com/new/reflexology/ to display http://www.kellyhainsworth.com/new/?page_id=5.

    Posted 4 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.


Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method GA_Filter::spool_analytics() should not be called statically in /home/themes/public_html/forums/bb-includes/wp-functions.php on line 586

Strict Standards: Non-static method GA_Filter::spool_this() should not be called statically in /home/themes/public_html/forums/my-plugins/googleanalytics.php on line 183