Rewrite smartor album

phpBB2 SEO Simple mod Rewrite support forum.
This mods performs a fully static URL rewriting for phpBB.
Simple and efficient.

Moderator: Moderators

Rewrite smartor album

Postby hoimyr » Sat Aug 15, 2009 6:58 pm

Hi! Im using the smartor album with phpbb2. Trying to find out how to get this result:

mysite.com/album_personal_index.php
to
mysite.com/gallery/

and(most important)
mysite.com/album_personal.php?user_id=2102
to
user.mysite.com/

For this last part i found a good topic here. But what do i need for getting it up and running?
Subdomains for member profile
I have searched a lot but this is very complex and dont understand anything of it. So i need someone to push me in the right direction. I have downloaded you mod for rewriting the entire smartor mod but i dont need all that with the .html endings. Just the urls's above. Can it be done with only one htaccess? My host can set up wildcard domains a.s.o.
Thanks for this great site :)

Cheers,
Thomas
hoimyr
 
Posts: 6
Joined: Sat Aug 15, 2009 6:44 pm

Advertisement

Re: Rewrite smartor album

Postby Typo » Mon Aug 17, 2009 10:43 am

You will need the site owner "DCZ" on this one but unfortunately he will be gone for a few days probably. He is having internet access issues.

Please be patient and make sure to bump the topic every few days if he hasn't replied.

Typo
User avatar
Typo
phpBB SEO Team
phpBB SEO Team
 
Posts: 346
Joined: Sun Jan 18, 2009 11:33 am

Re: Rewrite smartor album

Postby hoimyr » Tue Aug 18, 2009 9:06 am

ok. Hope DCZ can solve this for me. :-) I will check in a little later this week. Thanks Typo.
hoimyr
 
Posts: 6
Joined: Sat Aug 15, 2009 6:44 pm

Re: Rewrite smartor album

Postby dcz » Sat Aug 22, 2009 12:04 pm

Why not upgrading to phpBB3 ?

I'm sorry this is not the answer you expected, but phpBB2 has become a bit old in my mind ;)

++
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21219
Joined: Fri Apr 28, 2006 9:03 pm

Re: Rewrite smartor album

Postby hoimyr » Sat Aug 22, 2009 9:41 pm

ok, hoped to get some links and tips for what to do. I have a heavily modified phpbb2 board that works great and dont have time to convert to phpbb3. Just want to fix the htaccess file to clean up the url's like your mod does. But with a small modification that complicates it.. :wink:
hoimyr
 
Posts: 6
Joined: Sat Aug 15, 2009 6:44 pm

Re: Rewrite smartor album

Postby hoimyr » Sat Oct 03, 2009 9:25 pm

ok.. Trying to find this:
Code: Select all
$this->url = $this->seo_url['user'][$this->get_vars['u']] . $this->seo_ext['user'];


but the lines i have in phpbb_seo_class.php is:
Code: Select all
$this->url =  $this->seo_static['user'] . $this->get_vars[POST_USERS_URL] . $this->seo_ext['user'];


Is this because i need to install an extra addon first? Have looked at Meta, Zero-dupe but cant find this exact code.

According to another post i am supposed to add this lines in the end to make it work:
Code: Select all
$this->url = '';
         $this->path = 'http://' . $this->seo_url['user'][$this->get_vars['u']] . '.youdomain.com';

Will it work if i just replace it with these lines?


So i install:
1. Mixed mod rewrite(can i use Simple or Advanced?)
2. Guest Sessions MOD
3. Dynamic Meta
4. Zero Duplicate
5. Add the code above.
and then it will work with profiles?
hoimyr
 
Posts: 6
Joined: Sat Aug 15, 2009 6:44 pm

Re: Rewrite smartor album

Postby dcz » Sun Oct 18, 2009 1:06 pm

Are you using the last version of the url rewriting mod ?
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21219
Joined: Fri Apr 28, 2006 9:03 pm

Re: Rewrite smartor album

Postby hoimyr » Fri Oct 23, 2009 8:24 pm

Its the Mixed mod Rewrite 0.2.4.
This one http://downloads.phpbb-seo.com/phpbb2-s ... ite-9.html

cant find this line:
Code: Select all
$this->url = $this->seo_url['user'][$this->get_vars['u']] . $this->seo_ext['user'];


i am trying to do what you do here Subdomains for member profile
hoimyr
 
Posts: 6
Joined: Sat Aug 15, 2009 6:44 pm

Re: Rewrite smartor album

Postby hoimyr » Sat Jan 16, 2010 9:30 pm

Hey! Im not giving up on this. :oops: I would really really appreciate if you could help me out here!

In the advanced version(0.2.4) of phpbb_seo_class.php i have:

$this->url = $this->seo_static['user'] . $this->get_vars[POST_USERS_URL] . $this->seo_ext['user'];


that needs to be changed..

I have this from another post here on this site:
$this->url = '';
$this->path = 'http://' . $this->seo_url['user'][$this->get_vars['u']] . '.youdomain.com';


Is this going to work? I really need some pro-help. Willing to pay to make this work on my forums. I really just need this one fix. Hope you or somebody can help me out..
hoimyr
 
Posts: 6
Joined: Sat Aug 15, 2009 6:44 pm


Return to phpBB2 Simple mod rewrite

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 1 guest