Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Friendly URLs

Asked Modified Viewed 3,307 times
E
emcgfx
E
emcgfx 10
  • Junior Member, joined since
  • Contributed 15 posts on the community forums.
  • Started 7 threads in the forums
  • Started this discussions
asked
Junior Member

Is there some kind of mod or infusion for V7, that will make all this ugly urls more friendly ?
Example:

FROM: http://www.php-fusion.co.uk/forum/post.php?action=newthread&forum_id=13
TO: http://www.php-fusion.co.uk/forum/id-13

some kind of modrewrite and .htaccess perhaps.

Needed URL: (something like this)
Any help is appreciated.

Custom Pages:
FROM: http://domain.com/viewpage.php?page_id=1
TO: http://domain.com/page/1

Article Page:
FROM: http://domain.com/articles.php?article_id=5
TO: http://domain.com/articles/5

Article Categories:
FROM: http://domain.com/articles.php?cat_id=3
TO: http://domain.com/articles/cat/3

Forum Thread:
FROM: http://domain.com/forum/viewthread.php?thread_id=1
TO: http://domain.com/forum/1

Forum Categories:
FROM: http://domain.com/forum/viewforum.php?forum_id=2
TO: http://domain.com/forum/cat/2

Downloads Pages *PRO DOWNLOADS SYSTEM*:
FROM: http://domain.com/infusions/pro_download_panel/download.php?did=1
TO: http://domain.com/downloads/1

Downloads Categories:
FROM: http://domain.com/infusions/pro_download_panel/download.php?catid=0
TO: http://domain.com/downloads/cat/0

FAQ Pages:
FROM: http://domain.com/faq.php?cat_id=1
TO: http://domain.com/faq/1

News Pages:
FROM: http://domain.com/news.php?readmore=1
TO: http://domain.com/news/1

Web Links *Links*:
FROM: http://domain.com/weblinks.php?cat_id=1&weblink_id=1
TO: http://domain.com/links/1 (or 1-1, 1-2 where is first number is categories, also 1/1 will work /links/1/2 etc.)

Web Links Categories:
FROM: http://domain.com/weblinks.php?cat_id=1
TO: http://domain.com/links/cat/1

Hall of Fame *Infusion*:
FROM: http://domain.com/infusions/hall_of_fame_panel/hall_of_fame.php
TO: http://domain.com/hall-of-fame/

Photo Gallery Pages:
FROM: http://domain.com/photogallery.php?photo_id=1
TO: http://domain.com/photo/1

Photo Gallery Categories:
FROM: http://domain.com/photogallery.php?album_id=1
TO: http://domain.com/album/cat/1

Even Calendar *Infusion*:
FROM: http://domain.com/infusions/aw_ecal_panel/calendar.php?cal=month&
TO: http://domain.com/calendar/month/
(and others, that calendar needs)

Pages Wrapper *Infusion*:
FROM: http://domain.com/infusions/wrapper/wrapper.php?wrapper_id=1
TO: http://domain.com/pages/1
(note custom pages are "page")

Thank you.
0 replies

9 posts

G
googlebot
G
Visit the new home of the merge between Hacking Vs. Security and Security Override!
My copyright removal has been switched over from HvS to SecurityOverride.
  • Senior Member, joined since
  • Contributed 638 posts on the community forums.
  • Started 28 threads in the forums
answered
Senior Member

There is a mod that will do, for example, articles.php?id=1 to articles/1

Please use the search function. ;)
0 replies
E
emcgfx
E
emcgfx 10
  • Junior Member, joined since
  • Contributed 15 posts on the community forums.
  • Started 7 threads in the forums
  • Started this discussions
answered
Junior Member

Quote

googlebot wrote:
There is a mod that will do, for example, articles.php?id=1 to articles/1

Please use the search function. ;)


I did actually, could not find it. Can you point me in the right direction please?
0 replies
G
googlebot
G
Visit the new home of the merge between Hacking Vs. Security and Security Override!
My copyright removal has been switched over from HvS to SecurityOverride.
  • Senior Member, joined since
  • Contributed 638 posts on the community forums.
  • Started 28 threads in the forums
answered
Senior Member

Quote

emcgfx wrote:

Quote

googlebot wrote:
There is a mod that will do, for example, articles.php?id=1 to articles/1

Please use the search function. ;)


I did actually, could not find it. Can you point me in the right direction please?

I wont give you a hard time, it took me a couple seconds to find the thread again...

http://php-fusion.co.uk/forum/viewthr...pid=126018
0 replies
E
emcgfx
E
emcgfx 10
  • Junior Member, joined since
  • Contributed 15 posts on the community forums.
  • Started 7 threads in the forums
  • Started this discussions
answered
Junior Member

Thank you, buddy =)
0 replies
E
emcgfx
E
emcgfx 10
  • Junior Member, joined since
  • Contributed 15 posts on the community forums.
  • Started 7 threads in the forums
  • Started this discussions
answered
Junior Member

I got upgraded to that package, but now my Event Calendar and Pro Downloads System is not working =( Any help?
0 replies
G
googlebot
G
Visit the new home of the merge between Hacking Vs. Security and Security Override!
My copyright removal has been switched over from HvS to SecurityOverride.
  • Senior Member, joined since
  • Contributed 638 posts on the community forums.
  • Started 28 threads in the forums
answered
Senior Member

Quote

emcgfx wrote:
I got upgraded to that package, but now my Event Calendar and Pro Downloads System is not working =( Any help?

No idea, I don't use either of those. Sorry.

And if that mod is good, it should have a "undo" script that will change it back to normal.
0 replies
S
StoyaN
S
StoyaN 10
  • Member, joined since
  • Contributed 162 posts on the community forums.
  • Started 37 threads in the forums
answered
Member

Yes but this is fully new fusion. Can we get only the changes, cause I have big fusion v.7 with many changes.
0 replies
T
taden0
T
taden0 10
  • Newbie, joined since
  • Contributed 3 posts on the community forums.
  • Started 1 thread in the forums
answered
Newbie

Changes are VERY big. You need to edit every single link in all files. If you remember all mods/infusions you used. You can modify PHPFusion Rewrite too.

I will continue this project now, but I don't have a lot of time so any help is welcome.
0 replies
E
emcgfx
E
emcgfx 10
  • Junior Member, joined since
  • Contributed 15 posts on the community forums.
  • Started 7 threads in the forums
  • Started this discussions
answered
Junior Member

PHPFusion team should just build this future in, every other cms already have this future.. Its very important to some of us =)
0 replies

Category Forum

General Discussion

Labels

None yet

Statistics

  • Views 0 views
  • Posts 9 posts
  • Votes 0 votes
  • Topic users 4 members

4 participants

T
T
taden0 10
  • Newbie, joined since
  • Contributed 3 posts on the community forums.
  • Started 1 thread in the forums
G
G
Visit the new home of the merge between Hacking Vs. Security and Security Override!
My copyright removal has been switched over from HvS to SecurityOverride.
  • Senior Member, joined since
  • Contributed 638 posts on the community forums.
  • Started 28 threads in the forums
S
S
StoyaN 10
  • Member, joined since
  • Contributed 162 posts on the community forums.
  • Started 37 threads in the forums
E
E
emcgfx 10
  • Junior Member, joined since
  • Contributed 15 posts on the community forums.
  • Started 7 threads in the forums
  • Started this discussions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet