404 not found for articles
Board index / PHP Melody - Video CMS
6 posts • Page 1 of 1
Hi all!
I'm having a problem ...
My articles appear with error 404. Why?
Could anyone help me?
The file "article.php" is unchanged and my htaccess follows:
My website link is: http://www.videosmais.com.br (articles = artigos)
Another example: http://www.videosmais.com.br/articles/r ... los_2.html
TYVM for the help and support for this.
I'm having a problem ...
My articles appear with error 404. Why?
Could anyone help me?
The file "article.php" is unchanged and my htaccess follows:
- Code: Select all
RewriteRule ^articles/read-(.*)_([0-9]+).html$ article_read.php?a=$2
RewriteRule ^articles/index-([0-9]+).html$ article.php?page=$1
RewriteRule ^articles/browse-(.*)-([0-9]+).html$ article.php?c=$1&page=$2
RewriteRule ^articles/tag/([^/]+)/page-([0-9]+)(/)?$ article.php?tag=$1&page=$2
RewriteRule ^articles/tag/([^/]+)(/)?$ article.php?tag=$1&page=1
RewriteRule ^articles/popular-([0-9]+).html$ article.php?show=popular&page=$1
RewriteRule ^articles(\/|.html)?$ article.php
RewriteRule ^article(\/|.html)?$ article.php
RewriteRule ^pages/(.*)\.html$ page.php?name=$1
My website link is: http://www.videosmais.com.br (articles = artigos)
Another example: http://www.videosmais.com.br/articles/r ... los_2.html
TYVM for the help and support for this.
- jgermanas
- Verified Customer
- Posts: 45
- Joined: Jun 16, 2009 5 pm
- Reputation points: 0
Anybody!? This is a bug or an error?
- jgermanas
- Verified Customer
- Posts: 45
- Joined: Jun 16, 2009 5 pm
- Reputation points: 0
Hello!?
All archives is unchanged...
Why this...?
All archives is unchanged...
Why this...?
- jgermanas
- Verified Customer
- Posts: 45
- Joined: Jun 16, 2009 5 pm
- Reputation points: 0
This only works without SEO friendly URLs..
- jgermanas
- Verified Customer
- Posts: 45
- Joined: Jun 16, 2009 5 pm
- Reputation points: 0
It's a redirect loop... why this?
http://www.videosmais.com.br/articles/r ... ovi/1.html
redirect to
http://www.videosmais.com.br/articles/r ... index.html
My article_functions.php:
How can I solve this!?
Can you help me to solve this!?
http://www.videosmais.com.br/articles/r ... ovi/1.html
redirect to
http://www.videosmais.com.br/articles/r ... index.html
My article_functions.php:
- Code: Select all
function art_make_link($type = 'article', $args = array())
{
$url = '';
$url = _URL .'/';
switch ($type)
{
case 'article':
if (_SEOMOD)
{
$title = sanitize_title($args['title']);
if (strlen($title) == 0)
{
$title = 'read';
}
$url .= 'articles/read-';
$url .= $title .'_'. $args['id'];
$url .= '.'. _FEXT;
if (strpos($url, '-video_') !== false)
{
$url = str_replace('-video_', '_video_', $url);
}
}
else
{
$url .= 'article_read.php?a='. $args['id'];
}
break;
How can I solve this!?
Can you help me to solve this!?
- jgermanas
- Verified Customer
- Posts: 45
- Joined: Jun 16, 2009 5 pm
- Reputation points: 0
6 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest