Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 01-11-2014, 08:55 AM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default cms breadcrumb adding url

Hey all,

This seems like a simple issue but nothing I am doing is fixing it.

The problem is when going into the cms into one of the pages the bread crumb adds an extra base url there.

The settings in the url options are as they have always been with the base url set and the rest blank.

Here is a page showing the problem. In the bread crumb if you click the news link it adds the base url twice.
HTML Code:
http://musclemecca.com/content/293-2013-MR-OLYMPIA-WHO-HAS-QUALIFIED-SO-FAR
I believe this is an htaccess issue as all the settings look normal.

Here is what I have as an htaccess. I do think it needs some updating.

PHP Code:
RewriteEngine on

RewriteRule f
[\d]+/.+-([\d]+)/index([\d]+).html showthread.php?t=$1&page=$[L,R=301]
RewriteRule f[\d]+/.+-([\d]+)/ showthread.php?t=$[L,R=301]
RewriteRule f([\d]+)/index([\d]+).html forumdisplay.php?f=$1&page=$[L,R=301]
RewriteRule f([\d]+)/ forumdisplay.php?f=$[L,R=301]

# If you are having problems or are using VirtualDocumentRoot, uncomment this line and set it to your vBulletin directory.
RewriteBase /

RewriteCond %{HTTP_HOST} ^www\.musclemecca\.com$ [NC]
RewriteRule ^(.*)$ http://musclemecca.com/$1 [L,R=301]

RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$[L]

# If you are having problems with the rewrite from content/ to content.php, uncomment this line to turn MultiViews off.
Options -MultiViews

RewriteCond 
%{REQUEST_FILENAME} -[OR]
RewriteCond %{REQUEST_FILENAME} -[OR]
RewriteCond %{REQUEST_FILENAME} -d

RewriteRule 
^.*$ - [NC,L]

# Forum
RewriteRule ^threads/.* showthread.php [QSA]
RewriteRule ^forums/.* forumdisplay.php [QSA]
RewriteRule ^members/.* member.php [QSA]
RewriteRule ^blogs/.* blog.php [QSA]
RewriteRule ^entries/.* entry.php [QSA]

RewriteCond %{REQUEST_FILENAME} -[OR]
RewriteCond %{REQUEST_FILENAME} -[OR]
RewriteCond %{REQUEST_FILENAME} -d

RewriteRule 
^.*$ - [NC,L]

# MVC
RewriteRule ^(?:(.*?)(?:/|$))(.*|$)$ $1.php?r=$[QSA]

# Check MVC result
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule 
^(.*)$ - [NC,L]
RewriteRule ^(.*)$ - [R=404,L]

## Expires
<ifModule mod_expires.c>
        
ExpiresActive On
        ExpiresDefault 
"access plus 1 seconds"
        
ExpiresByType text/html "access plus 1 seconds"
        
ExpiresByType image/gif "access plus 3456000 seconds"
        
ExpiresByType image/jpeg "access plus 3456000 seconds"
        
ExpiresByType image/png "access plus 3456000 seconds"
        
ExpiresByType text/css "access plus 3456000 seconds"
        
ExpiresByType text/javascript "access plus 3456000 seconds"
        
ExpiresByType application/javascript "access plus 3456000 seconds"
        
ExpiresByType application/x-javascript "access plus 3456000 seconds"
</ifModule>

## Compression
<ifmodule mod_headers.c>
        <
ifmodule mod_deflate.c>
                
AddOutputFilterByType DEFLATE text/html text/css text/xml application/x-javascript
                BrowserMatch 
^Mozilla/4 gzip-only-text/html
                BrowserMatch 
^Mozilla/4\.0[678no-gzip
                BrowserMatch 
\bMSIE !no-gzip !gzip-only-text/html
        
</ifmodule>
</
ifmodule>

## Rewrites
<ifmodule mod_rewrite.c>
        
RewriteEngine on
        Options 
+FollowSymlinks

        RewriteCond 
%{REQUEST_FILENAME} -[OR]
        
RewriteCond %{REQUEST_FILENAME} -[OR]
        
RewriteCond %{REQUEST_FILENAME} -d
        RewriteRule 
^.*$ - [NC,L]

        
# Media Library
        
ReWriteRule ^media/m(\d+).*/tagsmedia.php?do=tags_edit&mid=$[QSA]
        
ReWriteRule ^media/m(\d+).*/editmedia.php?do=details_edit&mid=$[QSA]
        
ReWriteRule ^media/m(\d+).*/reportmedia.php?do=report&mid=$[QSA]
        
ReWriteRule ^media/m(\d+).*/c(\d+)$ media.php?do=comment_edit&cmt=$[QSA]
        
ReWriteRule ^media/m(\d+).*/p(\d+).*$ media.php?do=details&mid=$1&pid=$[QSA]
        
ReWriteRule ^media/m(\d+).* media.php?do=details&mid=$[QSA]
        
ReWriteRule ^media/p(\d+).*/editmedia.php?do=playlist_edit&pid=$[QSA]
        
ReWriteRule ^media/p(\d+).* media.php?do=playlist&pid=$[QSA]
        
ReWriteRule ^media/c(\d+).* media.php?do=category&cid=$[QSA]
        
ReWriteRule ^media/u(\d+).* media.php?do=user&uid=$[QSA]
        
ReWriteRule ^media/tag/(.*) media.php?do=tag&tid=$[QSA]
        
ReWriteRule ^media/results/(.*) media.php?do=results&query=$[QSA]
        
ReWriteRule ^media/advresults/(.*) media.php?do=advresults&query=$[QSA]
        
ReWriteRule ^media/letter/(.*) media.php?do=letter&query=$[QSA]
        
ReWriteRule ^media/browse.* media.php?do=browse [QSA]
        
ReWriteRule ^media/search.* media.php?do=search [QSA]
        
ReWriteRule ^media/random.* media.php?do=random [QSA]
        
ReWriteRule ^media/submit.* media.php?do=submit [QSA]
        
ReWriteRule ^media/tagcloud.* media.php?do=tagcloud [QSA]
        
ReWriteRule ^media/playlists.* media.php?do=playlists [QSA]
        
ReWriteRule ^media/pcreate.* media.php?do=playlists_create [QSA]
        
ReWriteRule ^media/pmine.* media.php?do=playlists_mine [QSA]
        
ReWriteRule ^media/favorites.* media.php?do=favorites [QSA]
        
ReWriteRule ^media/subscriptions.* media.php?do=subscriptions [QSA]
        
ReWriteRule ^media/admin/edit/s(\d+).* media.php?do=admin_host_edit&sid=$[QSA]
        
ReWriteRule ^media/admin/delete/s(\d+).* media.php?do=admin_host_delete&sid=$[QSA]
        
ReWriteRule ^media/admin/export/s(\d+).* media.php?do=admin_host_export&sid=$[QSA]
        
ReWriteRule ^media/admin/(\w+).* media.php?do=admin_$[QSA]

        
# Media Library from Video Directory
        
RewriteCond %{QUERY_STRING} do=viewdetails&videoid=(\d+)
        
RewriteRule ^video\.phpmedia.php?do=details&mid=%1
        RewriteCond 
%{QUERY_STRINGviewcategory&categoryid=(\d+)
        
RewriteRule ^video\.phpmedia.php?do=category&cid=%1
        RewriteCond 
%{QUERY_STRINGviewuser&userid=(\d+)
        
RewriteRule ^video\.phpmedia.php?do=user&uid=%1
        RewriteCond 
%{QUERY_STRINGviewtag&tag=(.*)
        
RewriteRule ^video\.phpmedia.php?do=tag&tid=%1
        ReWriteRule 
^video\.phpmedia.php

        
# Forum
        
RewriteRule ^threads/.* showthread.php [QSA]
        
RewriteRule ^forums/.* forumdisplay.php [QSA]
        
RewriteRule ^members/.* member.php [QSA]
        
RewriteRule ^blogs/.* blog.php [QSA]
        
ReWriteRule ^entries/.* entry.php [QSA]

        
RewriteCond %{REQUEST_FILENAME} -[OR]
        
RewriteCond %{REQUEST_FILENAME} -[OR]
        
RewriteCond %{REQUEST_FILENAME} -d
        RewriteRule 
^.*$ - [NC,L]

        
# MVC
        
RewriteRule ^(?:(.*?)(?:/|$))(.*|$)$ $1.php?r=$[QSA]
</
ifmodule>

<
IfModule mod_headers.c>
    <
FilesMatch "\.(bmp|css|flv|gif|ico|jpg|jpeg|js|pdf|png|svg|swf|tif|tiff)$">
        
Header set Last-Modified "Mon, 15 Feb 2013 00:00:00 GMT"
    
</FilesMatch>
</
IfModule
Thanks for the help guys.

--------------- Added 11 Jan 2014 at 07:48 ---------------

I am also getting characters after the url like #axzz2ouMmQKGD ever since removing Vbseo and adding redirects. What am I doing wrong here? ##Update - The strange url characters were caused by Tynt.

Thanks
Reply With Quote
  #2  
Old 01-13-2014, 08:24 AM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Bumpy, bumpity, bump

anyone?

--------------- Added 13 Jan 2014 at 10:42 ---------------

Ok, you can close this thread. I managed to fix this by changing the settings from content.php to content/

I just cannot figure out what changed though because I haven't touched these settings in months. Once I tried using the default htacces though and still had the issue I knew it had to be a setting.

I am sort of glad I got no replies here though as it was a simple issue and I learned from it. I often overlook the simplistic fixes and expect something more complex. So thanks for ignoring me.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:06 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03484 seconds
  • Memory Usage 2,268KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_html
  • (1)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (2)post_thanks_box
  • (2)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit_info
  • (2)postbit
  • (2)postbit_onlinestatus
  • (2)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete