Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
content
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ok1kvk.cz
content
Commits
e040dc85
Verified
Commit
e040dc85
authored
9 years ago
by
Isabella Skořepová
Browse files
Options
Downloads
Patches
Plain Diff
Make php redirects permanent (301)
Also change from sftp upload to ftp upload
parent
ae420040
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
theme/templates/redirect.php.nunj
+3
-1
3 additions, 1 deletion
theme/templates/redirect.php.nunj
upload
+1
-1
1 addition, 1 deletion
upload
with
4 additions
and
2 deletions
theme/templates/redirect.php.nunj
+
3
−
1
View file @
e040dc85
<?php
header
(
'location: {{config.baseurl}}/{{content}}'
);
<?php
header
(
"HTTP/1.1 301 Moved Permanently"
);
header
(
'location: {{config.baseurl}}/{{content}}'
);
This diff is collapsed.
Click to expand it.
upload
+
1
−
1
View file @
e040dc85
...
...
@@ -12,4 +12,4 @@ echo "Site compiled"
chmod a+X build -R
echo "Uploading to nove.ok1kvk.cz"
lftp -c "open --user ok1kvk.cz-nove --env-password
-p 2121 s
ftp://ok1kvk.cz/; mirror -c --verbose=9 -e -R -L ./build /"
lftp -c "
set ftp:ssl-allow no;
open --user ok1kvk.cz-nove --env-password ftp://ok1kvk.cz/; mirror -c --verbose=9 -e -R -L ./build /"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment