Delete "manga" from url

Works Forums Plugins my Manga Reader Delete "manga" from url

Tagged: 

This topic contains 1 reply, has 2 voices, and was last updated by  owari 6 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #820

    xTheGodFather
    Participant

    Hi, I am trying to delete the “manga” word from the url of my web, is there any way to do it automatically, either with a script or using htaccess.

    example:

    actually: mywebsite.com/manga/my-manga-name

    what I want: mywebsite.com/my-manga-name

    If it can not be removed, at least I want to change the word, Who can do it PM

    #821

    owari
    Participant

    First you need to open routes.php

    and change this line
    Route::get(‘/manga/{manga}’, [‘as’ => ‘front.manga.show’, ‘uses’ => ‘[email protected]’]);

    and delete it in the manga

    Route::get(‘/{manga}’, [‘as’ => ‘front.manga.show’, ‘uses’ => ‘[email protected]’]);

    now you open a manga without the manga url

    But now we need to make exceptions for
    contact-us
    bookmark
    etc.
    Because now they do not open

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.