Domain: amberpublishers.in
Server Adress: 86.38.243.169

privdayz.com

/home/u866425823/public_html/routes/
Dosya Yükle :
Current File : /home/u866425823/public_html/routes/web.php

<?php

use Illuminate\Support\Facades\Route;
use App\Http\Controllers\ViewsController;

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider and all of them will
| be assigned to the "web" middleware group. Make something great!
|
*/

// ======================== Views Route  ========================
// Use Controller: ViewsController

// index
Route::get('/', [ViewsController::class, 'index'])->name('index');
// about us
Route::get('/about-us', [ViewsController::class, 'aboutUs'])->name('aboutUs');
// retun services view
Route::get('/services', [ViewsController::class, 'services'])->name('services');
// retun services-details view by taking urlSlug as parameter
Route::get('/services/{serviceSlug}', [ViewsController::class, 'servicesDetails'])->name('servicesDetails');
// contact view
Route::get('/contact', [ViewsController::class, 'contact'])->name('contact');
// team view
Route::get('/team', [ViewsController::class, 'team'])->name('team');
// Privacy Policy
Route::get('/privacy-policy', [ViewsController::class, 'privacyPolicy'])->name('privacyPolicy');
// Terms & Conditions
Route::get('/terms-conditions', [ViewsController::class, 'termsConditions'])->name('termsConditions');
// return and refund
Route::get('/return-refund', [ViewsController::class, 'returnRefund'])->name('returnRefund');
// some redirect routes for existing Search Engine links
// redirect /about to /about-us
Route::redirect('/about', '/about-us', 301);
// redirect service slug url to new services/{serviceSlug} url
Route::redirect('/service-details?serviceSlug={serviceSlug}', '/services/{serviceSlug}', 301);
// Cutsom 404 fallback page
Route::fallback(function () {
    return view('pages.404');
});

coded by Privdayz.com - Visit https://privdayz.com/ for more php shells.