Jamroom Logo Jamroom 5 Core
is now Open Source!
User Support Forum Archive (Read Only)
User Documentation and How To's:
sef config
beazyboy



Joined: 01 May 2009
Posts: 619
Location: NastiNati

Posted: 01/12/10 03:21 
How does this work , Is there a guide or info for this ?


_________________
ServeMeBeats.com
Buy beats for sale online!
Back to top
Douglas
Jamroom Team


Joined: 08 Oct 2004
Posts: 6639
Location: Tornado Alley!

Posted: 01/12/10 07:47 
Check out the docs.

http://www.jamroom.net/Jamroom4_jr_url

Hope this helps Smile


_________________
Douglas Hackney
Jamroom Network Team Member: http://www.jamroom.net
Priority Support: http://www.jamroom.net/Support_Center
Back to top
beazyboy



Joined: 01 May 2009
Posts: 619
Location: NastiNati

Posted: 01/15/11 15:46 
I'm not really understanding this very good, I do not know how to set this up, All i am trying to to do is bypass
the "index.php?t=" part of my {$JAMROOM_URL} So instead of this
Code
http://servemebeats.com/index.php?t=sell_beats
I would like this
Code
http://servemebeats.com/sell_beats
and then i plan on making a new sitemap and resubmitting it, So my pages will be more relevant to the search engines, I see a sefjam.php and a sefjam_htaccess in my root directory, Please advise, Thanks... Beazy


_________________
ServeMeBeats.com
Buy beats for sale online!
Back to top
smith.kyle
CodeSmith


Joined: 27 Apr 2006
Posts: 22009
Location: Southern California

Posted: 01/16/11 15:31 
That would need to go directly into your .htaccess file - something like:

RewriteRule ^sell_beats(/)$ index.php?t=sell_beats [L]

kyle


_________________
kyle[at]jamroom.net

Yes...that's a soda machine...

I get bored when no one's posting...
Back to top
beazyboy



Joined: 01 May 2009
Posts: 619
Location: NastiNati

Posted: 01/16/11 15:52 
I tried this ... im guessing im still doing something wrong Confused


Code

# PAGES (templates)
# Rewrite Pattern                  Redirect URL                Options - SEFTAG required!
RewriteRule ^pages/([^/]+)         index.php?t=$1              [E=SEFTAG:pages,L]
RewriteRule ^charts/([^/]+)        index.php?t=$1              [E=SEFTAG:charts,L]
RewriteRule ^lists/([^/]+)         index.php?t=$1              [E=SEFTAG:lists,L]
RewriteRule ^articles/([^/]+)      index.php?c=$1              [E=SEFTAG:articles,L]
RewriteRule ^signup/([^/]+)        signup.php                  [E=SEFTAG:signup,L]
RewriteRule ^content/(.+)          index.php?c=$1              [E=SEFTAG:content,L]
RewriteRule ^forum(/)+(.*)$        forum.php?band_id=0         [E=SEFTAG:forum,QSA,L]
RewriteRule ^comments(/)+(.*)$     comment.php                 [E=SEFTAG:comments,QSA,L]
RewriteRule ^community(/)+$        index.php?t=community       [E=SEFTAG:community,QSA,L]
RewriteRule ^search(/)+$           index.php?t=search          [E=SEFTAG:search,QSA,L]
RewriteRule ^sell_beats(/)+$       index.php?t=sell_beats      [L]

# SefJam support for Link Masker
RewriteRule ^chart=([^/]+)$        sefjam.php?uf_str=$1        [L]
RewriteRule ^list=([^/]+)$         sefjam.php?uf_str=$1        [L]
RewriteRule ^page=([^/]+)$         sefjam.php?uf_str=$1        [L]



_________________
ServeMeBeats.com
Buy beats for sale online!
Back to top
smith.kyle
CodeSmith


Joined: 27 Apr 2006
Posts: 22009
Location: Southern California

Posted: 01/16/11 15:54 
try changing the [L] at the end of that line to:

[E=SEFTAG:sell_beats,QSA,L]


_________________
kyle[at]jamroom.net

Yes...that's a soda machine...

I get bored when no one's posting...
Back to top
beazyboy



Joined: 01 May 2009
Posts: 619
Location: NastiNati

Posted: 01/16/11 16:16 

Code
# PAGES (templates)
# Rewrite Pattern                  Redirect URL                Options - SEFTAG required!
RewriteRule ^pages/([^/]+)         index.php?t=$1              [E=SEFTAG:pages,L]
RewriteRule ^charts/([^/]+)        index.php?t=$1              [E=SEFTAG:charts,L]
RewriteRule ^lists/([^/]+)         index.php?t=$1              [E=SEFTAG:lists,L]
RewriteRule ^articles/([^/]+)      index.php?c=$1              [E=SEFTAG:articles,L]
RewriteRule ^signup/([^/]+)        signup.php                  [E=SEFTAG:signup,L]
RewriteRule ^content/(.+)          index.php?c=$1              [E=SEFTAG:content,L]
RewriteRule ^forum(/)+(.*)$        forum.php?band_id=0         [E=SEFTAG:forum,QSA,L]
RewriteRule ^comments(/)+(.*)$     comment.php                 [E=SEFTAG:comments,QSA,L]
RewriteRule ^community(/)+$        index.php?t=community       [E=SEFTAG:community,QSA,L]
RewriteRule ^search(/)+$           index.php?t=search          [E=SEFTAG:search,QSA,L]
RewriteRule ^sell_beats(/)+$       index.php?t=sell_beats      [E=SEFTAG:sell_beats,QSA,L]


This is not liking me at all, lol ... Tried this still no luck


_________________
ServeMeBeats.com
Buy beats for sale online!
Back to top
beazyboy



Joined: 01 May 2009
Posts: 619
Location: NastiNati

Posted: 01/16/11 16:19 
the file im editing is sefjam_htaccess , should i rename it to .htaccess ?


_________________
ServeMeBeats.com
Buy beats for sale online!
Back to top
beazyboy



Joined: 01 May 2009
Posts: 619
Location: NastiNati

Posted: 01/16/11 16:29 
GOT IT! Very Happy Thanks man


_________________
ServeMeBeats.com
Buy beats for sale online!
Back to top
SelfmadeClub



Joined: 08 May 2010
Posts: 92
Location: Germany

Posted: 01/21/11 14:18 
what does "QSA,L" what is it for?

Back to top
beazyboy



Joined: 01 May 2009
Posts: 619
Location: NastiNati

Posted: 01/22/11 18:13 
Can you submit another URL From your domain? Or is it just a matter of your site being recrawled and indexed? Just curious


_________________
ServeMeBeats.com
Buy beats for sale online!
Back to top
Mrmeme



Joined: 28 Mar 2011
Posts: 26

Posted: 05/14/11 02:06 
hello i might be too late now but you can tell google via webmaster tools where the site map is and resubmit etc

Back to top
SteveX
Ultrabubble


Joined: 30 Aug 2005
Posts: 8792
Location: Ultrabubble

Posted: 05/31/11 02:28 

SelfmadeClub:
what does "QSA,L" what is it for?

Query String Append will add to an existing query string, L is for Last, the last rule to apply.

http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html


_________________
Kulshi Mezian!

"Stranger from another planet, welcome to our hole. Just strap on your guitar and we'll play some rock and roll"

Ultrabubble create things.
Back to top
iLoveHouseMusic



Joined: 21 Apr 2009
Posts: 1482
Location: San Francisco CA

Posted: 05/31/11 09:12 
Since we're on the topic, I was wondering about:


Code
+(.*)$

Not sure what this does?

and


Code
([^/]+)


If i'm not mistaken, this will allow you add template file at end of the url?
For instance: domain.com/lists/music domain.com/lists/producers domain.com/lists/clubs etc

I've seen the apache mod rewrite page but looking for regular explanation. LOL

TIA!

Back to top
Brian
Jamroom Team


Joined: 09 Jul 2003
Posts: 37583
Location: Seattle, WA

Posted: 05/31/11 09:34 

Code

+(.*)$


a plus (or 1 or more if applied to a character to the left), then "zero or more of anything" to the end of the line, stored in a back reference.


Code

([^/]+)


"one or more of anything except a forward slash" stored in a back reference.

Hope this helps!

- Brian


_________________
Make sure and check out:
* The Jamroom FAQ
* The Jamroom Documentation
Back to top
Display posts from previous:   
User Support Forum Archive (Read Only)
User Documentation and How To's

12Next >
 
Solutions
• Social Media Platform
• Social Networking Software
• Musician Website Manager
• Community Builder
Products
• Jamroom Core
• Jamroom Addons
• Jamroom Modules
• Jamroom Marketplace
Support
• Support Forum
• Documentation
• Support Center
• Contact Support
Community
• Community Forum
• Member Sites
• Developers
Company
• About Us
• Contact Us
• Privacy Policy
©2003 - 2010 Talldude Networks, LLC.