Thread: Major Additions - [OzzModz] Classifieds
View Single Post
  #315  
Old 11-18-2014, 09:56 PM
cdoyle cdoyle is offline
 
Join Date: Oct 2004
Posts: 462
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ozzy47 View Post
Hmmm, then I am not sure, as I am not good at rewrite stuff.
Does anyone else have any suggestions? I'm not sure where to turn for help.

here is my rewite file, anything I could change here?
RewriteEngine On
RewriteRule ^classifieds/([^/]*)/ ./ozzmodz_classifieds.php?do=main&catid=$1 [L,NC]
RewriteRule ^sale/([^/]*)/ ./ozzmodz_classifieds.php?do=viewitem&itemid=$1 [L,NC]
RewriteRule ^wanted/([^/]*)/ ./ozzmodz_classifieds.php?do=viewitem&itemid=$1 [L,NC]
RewriteRule ^trade/([^/]*)/ ./ozzmodz_classifieds.php?do=viewitem&itemid=$1 [L,NC]
RewriteRule ^offer/([^/]*)/ ./ozzmodz_classifieds.php?do=viewitem&itemid=$1 [L,NC]
RewriteRule ^seller/([^/]*)/ ./ozzmodz_classifieds.php?do=seller&sellerid=$1 [L,NC]

#####Start VB Pro Garage Settings##########

RewriteRule ^garage.html$ garage.php [NC,L]
RewriteRule ^garage-category-([0-9]+)-([0-9]+).html$ garage.php?sub_id=$1&page=$2 [QSA,NC,L]
RewriteRule ^garage-category-([0-9]+).html$ garage.php?sub_id=$1 [QSA,NC,L]
RewriteRule ^garage-browse-([0-9]+).html$ garage.php?do=browse&page=$1 [QSA,NC,L]
RewriteRule ^garage-browse.html$ garage.php?do=browse [QSA,NC,L]
RewriteRule ^garage-search.html$ garage.php?do=search [QSA,NC,L]
RewriteRule ^garage-vehicle-map.html$ garage.php?do=veh_map [NC,L]
RewriteRule ^garage-search_results-([0-9]+).html$ garage.php?do=search_results&page=$1 [QSA,NC,L]
RewriteRule ^garage-search_results.html$ garage.php?do=search_results [QSA,NC,L]
RewriteRule ^garage-timeslips-([0-9]+).html$ garage.php?do=timeslip&page=$1 [QSA,NC,L]
RewriteRule ^garage-timeslips.html$ garage.php?do=timeslip [QSA,NC,L]
RewriteRule ^garage-vehicle-([0-9]+)-AllImages-([a-zA-Z0-9_-]+).html$ garage_vehicle.php?do=view_vehicle&subdo=images&or der=all&id=$1 [NC,L]
RewriteRule ^garage-vehicle-([0-9]+)-([a-zA-Z0-9_-]+).html$ garage_vehicle.php?do=view_vehicle&id=$1 [NC,L]
RewriteRule ^garage-image-comments-([0-9]+)-([0-9]+).html$ garage_comments.php?do=view_img_comments&id=$1&pag e=$2 [NC,L]
RewriteRule ^garage-image-comments-([0-9]+).html$ garage_comments.php?do=view_img_comments&id=$1 [NC,L]
RewriteRule ^garage-user-view-([0-9]+).html$ garage.php?do=user_garage_view&id=$1 [NC,L]
RewriteRule ^garage-attach-([0-9]+).html$ garage_attachment.php?id=$1 [NC,L]
RewriteRule ^garage-attach-([0-9]+)-full.html$ garage_attachment.php?id=$1&attach_type=full [NC,L]
RewriteRule ^garage-view-timeslip-([0-9]+).html$ garage_timeslips.php?do=view_timeslip&id=$1 [NC,L]
RewriteRule ^garage-all-comments-([0-9]+).html$ garage_comments.php?do=viewall&page=$1 [NC,L]
RewriteRule ^garage-all-comments.html$ garage_comments.php?do=viewall [NC,L]
RewriteRule ^garage-browse-make-([0-9]+)-([a-zA-Z0-9_-]+).html$ garage.php?do=browse_front_model&front_make_id=$1 [NC,L]
RewriteRule ^garage-browse-model-([0-9]+)-([0-9]+)-([a-zA-Z0-9_-]+).html$ garage.php?do=browse_model&front_model_id=$2&page= $1 [NC,L]
RewriteRule ^garage-browse-model-([0-9]+)-([a-zA-Z0-9_-]+).html$ garage.php?do=browse_model&front_model_id=$1 [NC,L]

#####End VB Pro Garage Settings##########

#####VBSEO#######
RewriteEngine On

# If you are having problem with "None Could Be Negotiated" errors in Apache, uncomment this to turn off MultiViews
# Options -MultiViews

RewriteCond %{REQUEST_URI} !(admincp/|dbseocp/|modcp/|cron|mobiquo|forumrunner|api\.php|reviewpost/|classifieds/|photopost/)
RewriteRule ^((archive/)?(.*\.php(/.*)?))$ dbseo.php [L,QSA]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !/(admincp|dbseocp|modcp|clientscript|cpstyles|image s|reviewpost|classifieds|photopost)/
RewriteRule ^(.+)$ dbseo.php [L,QSA]


####End VBSEO####
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01138 seconds
  • Memory Usage 1,778KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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
  • showpost_complete