vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Myspace Style Profile Name Mod Rewrite's (https://vborg.vbsupport.ru/showthread.php?t=265600)

8thos 06-21-2011 05:26 PM

Myspace Style Profile Name Mod Rewrite's
 
How do you do Myspace Style Profile Name Mod Rewrites?

I have Mod-rewrite code turned on for Friendly URLS in options.

But for member profiles in .htaccess. I want it to look like this:

http://the8thlegion.com/DRE

Instead of this: http://the8thlegion.com/members/7-DRE



This way members can link friends to their profile easier.

LifesGreatestGift 06-22-2011 02:16 AM

1 Attachment(s)
That mod is not worth the headache and its not doing what you want it to do. Requires additional domain. What you need to do is whats in the image below if you want your member profiles to resemble

hxxp://www.yourforum.com/members/$username

Make sure you have the appropriate variables in your .htaccess as well.

What the mod you are talking about is is this...

hxxp://www.newshortdomain.com/$username

will redirect to

hxxp://www.yourforum.com/member.php?u=$userid

or something like that.

If you have your .htaccess setup properly, and the setting in admincp set to what the image displays your member profile URLs will look fine.

hxxp://www.yourforum.com/members/$username

hope I understood you correctly and answered your question.

P.S. For SEO purposes, this is NOT a recommended change if you are not already using this URL style setting.

8thos 06-22-2011 04:02 AM

I have it set to Basic Friendly URLS but a month ago I added mod rewrite Friendly URLs to my htaccess without switching it to mod rewrite. As a result, my traffic stats dropped. LOL... I was wondering why that happened. I am switching it to Mod Rewrite Friendly URLs. Going to try this mod rewrite again. Thanks!


All times are GMT. The time now is 05:11 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.01070 seconds
  • Memory Usage 1,712KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete