EzPortal - Portal Software for Forums

EzPortal - Made to Fit Your SMF Forum - Glad You Found Us!
+- +-

UserBox

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Recent Posts

New built in translations for six langauges! by EzPortal
March 26, 2024, 11:15:32 pm

Smiley missing in shoutbox 2.1.4 by hustreamload
July 26, 2023, 08:14:02 am

Re: Theme Select Box question? by Shades
March 15, 2023, 06:49:49 pm

Re: Theme Select Box question? by Shades
March 09, 2023, 02:09:24 pm

Re: Theme Select Box question? by Shades
March 09, 2023, 01:55:53 pm

Re: Theme Select Box question? by EzPortal
March 09, 2023, 01:47:42 pm

Re: Theme Select Box question? by Shades
March 09, 2023, 01:34:07 pm

Re: Theme Select Box question? by EzPortal
March 09, 2023, 12:20:17 pm

+- HTML Menu


Sample HTML Block Usage - You May Custom Code it, as needed!

Recent Topics ezBlock

New built in translations for six langauges! by EzPortal
March 26, 2024, 11:15:32 pm

Smiley missing in shoutbox 2.1.4 by hustreamload
July 26, 2023, 08:14:02 am

Theme Select Box question? by Shades
March 15, 2023, 06:49:49 pm

Where is the facebook button color? by EzPortal
February 28, 2023, 06:45:09 pm

Display on Mobile - SMF 2.1.3 and EZ 5.5.2 by BugginIn
December 29, 2022, 04:07:13 pm

Blocks Help by Riggs1973
November 20, 2022, 12:59:30 pm

Surface ol lite theme release Free! by Steffen K.
November 18, 2022, 03:57:24 am

Undefined index: href by EzPortal
October 04, 2022, 08:49:59 pm

SMF-ezportal_column_5.cache): failed to open stream: No such file or directory by EzPortal
June 04, 2022, 11:40:13 am

Arcade block error: failed to open stream: No such file or directory by Shades
May 20, 2022, 02:47:13 pm

Author Topic: Problem with URLs generated by EZportal  (Read 6448 times)

0 Members and 1 Guest are viewing this topic.

Offline jcarv

  • Newbie
  • *
  • Posts: 12
  • Karma: 1
Problem with URLs generated by EZportal
« on: April 23, 2015, 11:47:12 am »
Hi,
when we create pages with the page manager, our pages get an url like this:
http://www.fcporto.ws/ezportal/?sa=page;p=390

If by any chance you have a facebook channel and you want to lead people into this, facebook cannot handle it.

I tried Pretty URL. I have the latest version, + extras (which is supposed to rewrite URLs with ezportal).

I have no problems with all topics, posts coming from the forum.
IT doens't seem to work with pages generated by ezportal. IT's really annoying.

Can anyone help me?
Thanks



Offline Sayaka Maizono

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
  • Gender: Male
Re: Problem with URLs generated by EZportal
« Reply #1 on: October 28, 2015, 01:34:29 am »
Hello,

You can create a new php file called and have it handle the forwarding, such as http://www.fcporto.ws/forward.php?page=390

Code: [Select]
<?php

/**
 * @file Page Redirection
 * @author Rhode Fey (Sayaka Maizono)
 * @version 1.0.0
*/

// If no page was found, revert to redirecting to page 1...
if (!isset($_REQUEST['page']))
$_REQUEST['page'] = 1;

header('Location: http://www.fcporto.ws/ezportal/?sa=page;p=' . (int) $_REQUEST['page'], true303);
exit();

?>


 

Related Topics

  Subject / Started by Replies Last post
1 Replies
5687 Views
Last post August 02, 2010, 11:37:22 am
by Sayaka Maizono
5 Replies
7074 Views
Last post August 14, 2010, 10:37:13 pm
by systemlotto
3 Replies
8934 Views
Last post October 10, 2010, 03:28:19 pm
by halfmoon
0 Replies
4595 Views
Last post November 18, 2010, 08:18:56 pm
by Athlone
2 Replies
20976 Views
Last post November 05, 2012, 11:21:11 am
by jcarv

+-SMF Gallery

Quick Menu


Powered by EzPortal