Loading...
 

Tikiwiki-devel (mailman list mirror)


Tiki sitemap feature and _htaccess

posts: 43766 Canada


> (i would leave it commented out as that would give search engines a 404 not found on new installs otherwise)
>
I don't see how this is different from a search engine looking for the file and it not being there without a redirect. Isn't it a 404 returned when it looks there and finds nothing in both cases?

Brendan

> jonny
>
>
>
>
>> On 10 Jul 2018, at 13:47, Bsfez Tiki <bsfez@tiki.org> wrote:
>>
>> Brendan,
>>
>> You suggest replacing in trunk in _htaccess:
>> # Makes a short link to a list of objects to export as a plain text sitemap.
>> # Set the parentId (here set as 2) to the id of a category containing the objects you wish to be
>> # crawled by search engines.

>> #RewriteRule
sitemap.txt$ tiki-browse_categories.php?find=&deep=on&type=wiki+page&parentId=2&sort_mode=name_asc&links&maxRecords=1000000 L

>>
>> for:

>> #RewriteRule
sitemap.txt$ /storage/public/sitemap-index.xml

>>
>> or even (enable by default):

>> RewriteRule
sitemap.txt$ /storage/public/sitemap-index.xml

>>
>> Any other thoughts ?
>>
>> Bernard
>>
>>
>>
>>> On 3 Jul 2018, at 19:40 , Dr. Sassafras <drsassafras@gmail.com> wrote:
>>>
>>> Should be updated.
>>>
>>> Hmm. Perhaps even enabled by default. If one generates a sitemap I can't see why one would want to hide it, and it's placed in an identifiable place in a public folder already, so not private at all. If a sitemap does not exist it will still generate the same 404 error regardless.
>>>
>>> So I can't see why it should not be enabled by default.
>>>
>>> Brendan
>>>
>>>> On Jul 3, 2018, at 10:14 PM, Bsfez Tiki <bsfez@tiki.org> wrote:
>>>>
>>>> Hello,
>>>>
>>>> I set and tested Tiki site map feature.
>>>>
>>>> While checking here and there I found this in _htaccess:
>>>>
>>>> # -- Plain Text Sitemap SEO -- #
>>>> # Makes a short link to a list of objects to export as a plain text sitemap.
>>>> # Set the parentId (here set as 2) to the id of a category containing the objects you wish to be
>>>> # crawled by search engines.

>>>> #RewriteRule
sitemap.txt$ tiki-browse_categories.php?find=&deep=on&type=wiki+page&parentId=2&sort_mode=name_asc&links&maxRecords=1000000 L

>>>>
>>>> Is it obsolete now and should be removed or should it be changed for:
>>>> #RewriteRule ^sitemap.txt$ /storage/public/sitemap-index.xml
>>>>
>>>> Bernard
>>>> ------------------------------------------------------------------------------
>>>> Check out the vibrant tech community on one of the world's most
>>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>>> ___
>>>> TikiWiki-devel mailing list
>>>> TikiWiki-devel at lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
>>>
>>> ------------------------------------------------------------------------------
>>> Check out the vibrant tech community on one of the world's most
>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>> ___
>>> TikiWiki-devel mailing list
>>> TikiWiki-devel at lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
>>
>>
>> ------------------------------------------------------------------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> ___
>> TikiWiki-devel mailing list
>> TikiWiki-devel at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> TikiWiki-devel mailing list
> TikiWiki-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
TikiWiki-devel mailing list
TikiWiki-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel

Why Register?

Register at tiki.org and you'll be able to use the account at any *.tiki.org site, thanks to the InterTiki feature. A valid email address is required to receive site notifications and occasional newsletters. You can opt out of these items at any time.