View Issue Details

IDProjectCategoryView StatusLast Update
0008987mantisbtfeaturepublic2019-05-23 18:58
ReporterthE_iNviNciblE Assigned To 
PrioritynormalSeverityfeatureReproducibilityalways
Status acknowledgedResolutionopen 
Summary0008987: Mantis SEO .htaccess
Description

Mantis SEO .htaccess this would be a cool feature...

Tagsseo

Relationships

related to 0005613 acknowledged Support a really simple "view" URL 

Activities

ryandesign

ryandesign

2008-03-19 19:18

reporter   ~0017410

"SEO" = "search engine optimization" yes?

vboctor

vboctor

2008-03-20 01:59

manager   ~0017414

Please provide more details about what you think is required. Currently Mantis should be indexable by search engines when anonymous access is allowed.

thE_iNviNciblE

thE_iNviNciblE

2008-03-20 03:14

reporter   ~0017415

yes SEO = search engine optimization it would be indexed but quite bad.

because google looks @ the

<head>
<title> Window Title (thats the headline in the search index)</title>
</head>

----AND-----

and the URL Name example:

http://www.mantisbt.org/bugs/0008987_Mantis_SEO_htaccess or something like this... it's descriped for example in the apache manual it also is available for IIS

http://httpd.apache.org/docs/2.0/en/mod/mod_rewrite.html

it would based in a litle .htaccess maybe (20 lines with great SEO effekt)

vboctor

vboctor

2008-07-14 04:14

manager   ~0018492

I agree that this should be done. However, this will have to be contributed by the community. Hence, patches are welcome.

thE_iNviNciblE

thE_iNviNciblE

2015-01-20 12:32

reporter   ~0042218

nice to know that there will be a patch :-)

thE_iNviNciblE

thE_iNviNciblE

2019-03-23 14:22

reporter   ~0061753

have no time to do that...

thE_iNviNciblE

thE_iNviNciblE

2019-05-23 18:58

reporter   ~0062124

in the mantis core you will need another variable for the name of the url.

in the .htaccess you will add a line like this:

RewriteRule ^([a-z]+)/([0-9]+)/(.*)/$ index.php?lang_variable=$1&page_id=$2 [NC]

$1= ^([a-z]+)
$2 = ([0-9]+)
(.*) = use this as named folder

https://bludau-media.de/de/3512/Ueber-Bludau-Media-PHP-Portal-Software-(CMS%2B)/
$2 / $1 / (.*)

https://www.mantisbt.org/bugs/view.php?id=8987

RewriteRule ^([0-9]+)/(.*)/$ view.php?id=$1 [NC]

could build like this https://www.mantisbt.org/8987/Mantis-SEO-htaccess/