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

ezPortal 6.0 released! by EzPortal
July 10, 2025, 10:50:58 pm

Re: TinyMCE Editor disapears by ezxenova
May 06, 2025, 07:38:09 am

Re: TinyMCE Editor disapears by DenDen66
March 02, 2025, 06:59:40 am

Re: TinyMCE Editor disapears by DenDen66
February 28, 2025, 08:09:43 am

Re: TinyMCE Editor disapears by DenDen66
February 28, 2025, 07:31:29 am

Re: TinyMCE Editor disapears by EzPortal
February 27, 2025, 06:57:30 pm

Re: TinyMCE Editor disapears by DenDen66
February 27, 2025, 04:45:52 pm

Re: TinyMCE Editor disapears by DenDen66
February 27, 2025, 06:15:11 am

+- HTML Menu


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

Recent Topics ezBlock

ezPortal 6.0 released! by EzPortal
July 10, 2025, 10:50:58 pm

TinyMCE Editor disapears by ezxenova
May 06, 2025, 07:38:09 am

Renaming a page by DenDen66
February 23, 2025, 10:51:22 am

Styling ezBlock by EzPortal
February 19, 2025, 09:15:05 pm

I don't remember how to upgrade by EzPortal
February 05, 2025, 08:44:58 am

ezPortal 5.6 release by EzPortal
January 31, 2025, 11:21:34 am

5.5.4 by EzPortal
January 16, 2025, 08:31:41 pm

Moving a block higher in list by UkuleleMan
December 17, 2024, 07:58:27 am

Mandalorian Mercs Costume Club by UkuleleMan
December 17, 2024, 07:32:20 am

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

Author Topic: Problem with URLs generated by EZportal  (Read 7653 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
7007 Views
Last post August 02, 2010, 11:37:22 am
by Sayaka Maizono
5 Replies
8534 Views
Last post August 14, 2010, 10:37:13 pm
by systemlotto
3 Replies
14233 Views
Last post October 10, 2010, 03:28:19 pm
by halfmoon
0 Replies
5416 Views
Last post November 18, 2010, 08:18:56 pm
by Athlone
2 Replies
22554 Views
Last post November 05, 2012, 11:21:11 am
by jcarv

+-SMF Gallery

Quick Menu


Powered by EzPortal